package excel.exp;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Api("excel批量导入请求体")
@Data
public class ExcelExpReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("任务id(不用传)")
    private Long id;

    @ApiModelProperty("文件名称")
    private String qry;

    @ApiModelProperty("导入类型")
    @NotNull(message = "导入类型不能为空")
    private String type;

    @ApiModelProperty("使用模板导出")
    private String templateName;
}